package com.example.layouttest_1;

import android.os.Bundle;
import android.widget.TableLayout;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class TableActivity extends AppCompatActivity {
    protected TableLayout mtablelayout;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_table);
        mtablelayout = findViewById(R.layout.activity_table);
        mtablelayout.setColumnShrinkable(1,true);
        mtablelayout.setColumnStretchable(1,true);
        mtablelayout.setColumnCollapsed(1,true);
    }
}
